'''
Created on 2009-4-17

@author: Administrator
'''
import unittest
from com.carnation.common.util.test import testTools


class Test(unittest.TestCase):


    def testCreate(self):
        test = testTools(__file__) 
        rsp_msg = test.requestAndRsp(1, 'Run For Test RelationTypeService.create', \
'''
RelationTypeService.create
    MOIRelationType
        setName    "relationName"
        setParentRTId    null
        setBuildIn    false
        setAbstract    true
''', \
'''
MOIRelationType
    getName    "relationName"
    getParentRTId    null
    isAbstract    true
    isBuildIn    false
    getDisplayName    null
    getDescription    null
    getId    -
'''
)
#    print rsp_msg
        print '\nDone'
        test.quit()


if __name__ == "__main__":
    unittest.main()
